import request from '@/utils/request'

// 获取用户的频道
export const getMyChannels = () => request.get('user/channels')

// 获取所有的频道
export const Channels = () => request.get('channels')

// 添加频道
export const xiuChannel = (params) => request.patch('http://localhost/v1_0/user/channels', { params })
